package service;

import entity.User;

import java.sql.SQLException;
/**
 * 用户业务逻辑接口
 */
public interface UserService {
    /**
     * 用户登录
     * @param username
     * @param password
     * @return
     */
    User login(String username, String password) throws SQLException;
}

